﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page session="false" %>
<%@ page isELIgnored ="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>timeout</title>
<link rel="shortcut icon" href="${pageContext.request.contextPath}/assets/images/favicon.ico" />
<script>
function timeOutInterval(t){
	if(!t)t=6
	if(t==1)
		window.parent.location.href='${pageContext.request.contextPath}/cgi/app/login.html';
	else{
		document.getElementById("timeOutWaiting").innerHTML=t-1;
		setTimeout(function(){timeOutInterval(t-1);},1000);
	}
}
</script>
</head>
<body>
<div style="text-align: center;">
<p>用户长时间没有操作，为了帐户安全，请重新登录。</p>
<p><span id="timeOutWaiting"></span>秒后将跳转至登录页面。</p>
</div>
</body>
<script>
timeOutInterval(6);
</script>
</html>